Reference Picture List Handling

ABSTRACT

At least one mode signaling syntax element is provided based on an encoded representation of a picture in a video sequence. The at least one mode signaling syntax element is employed to determine whether at least one final reference picture list is the same for all slices of a same slice type in the picture. The at least one mode signaling syntax element thereby signals to a decoder that it does not necessarily have to repeat computationally complex reference picture list construction functions for each slice in the picture.

TECHNICAL FIELD

The present embodiments generally relate to video encoding and decoding,and in particular to reference picture handling in such video encodingand decoding.

BACKGROUND

High Efficiency Video Coding (HEVC) is a new video coding standardcurrently being developed in Joint Collaborative Team-Video Coding(JCT-VC). JCT-VC is a collaborative project between Moving PictureExperts Group (MPEG) and International TelecommunicationUnion-Telecommunication Strandardization Sector (ITU-T). Currently, anHEVC Model (HM) is defined that includes a number of new tools and isconsiderably more efficient than H.264/Advanced Video Coding (AVC).

A picture in HEVC is partitioned into one or more slices, where eachslice is an independently decodable segment of the picture. This meansthat if a slice is missing, for instance got lost during transmission,the other slices of that picture can still be decoded correctly. Inorder to make slices independent, they do not depend on each other. Nobitstream element of another slice is required for decoding any elementof a given slice.

Each slice contains a slice header which independently provides allrequired data for the slice to be independently decodable. One exampleof a data element present in the slice header is the slice address,which is used for the decoder to know the spatial location of the slice.Another example is the slice quantization delta which is used by thedecoder to know what quantization parameter to use for the start of theslice. There are many more data elements in the slice header.

HEVC also has mechanisms for handling reference pictures, which arepreviously decoded pictures to be used for decoding a current picture.The reference pictures are included in reference picture lists, whichfor HEVC is similar to the reference picture list in H.264.

In the draft HEVC specification three types of slices are defined:

-   -   I slices, also referred to as slice type 2, which does not use        inter prediction and does not have any reference picture lists;    -   P slices, also referred to as slice type 0, which has only one        reference picture list L0; and    -   B slices, also referred to as slice type 1, which has three        reference picture lists L0, L1 and LC.

In H.264, the reference picture lists L0 and L1 are first initialized.Then there is an optional modification process that is controlled bybitstream syntax elements that are present in the bitstream.

It has been proposed that HEVC should have three reference picture liststhat are initialized similarly to H.264. They are called L0, L1 and LC.Also here there are syntax elements to modify the reference picturelists. The reference picture lists are then used in the decoding processof the current slice in the current picture.

For both H.264 and HEVC there is the possibility to modify the referencepicture lists independently for each slice. That is done by indicatinghow the reference picture lists should be modified according to aspecified syntax. One slice may for instance use the initializedreference picture lists without modification while for another slicethere are syntax elements present that change the reference picturelists of the slice and make them different to the initialized referencepicture lists.

The decoding process to generate final reference picture lists is asfollows:

-   -   1. The decoder constructs initial reference picture lists. This        is also referred to as the decoder initializes the reference        picture lists.    -   2. The decoder checks whether optional list modification syntax        elements are present in the bitstream. This is done by checking        the values of list modification flags that are present in the        bitstream.    -   3. If there are no list modification syntax elements present        according to step 2, the initial reference picture lists from        step 1 are used in the decoding process of the current slice. If        there are list modification syntax elements according to step 2,        the decoder decodes list modification syntax elements and        performs list modification operations on the initial reference        picture lists from step 1. These modified reference picture        lists are then used in the decoding process of the current        slice.

A problem with the prior art technique is that the reference picturehandling implies complex hardware decoder designs in order to be able toprovide full flexibility of slices and handle the list initializationand modification processes. A hardware decoder will typically run thelist construction on a slow processor and not with dedicated hardware.If an encoded picture is split into a high number of slices andmodifications are used for the slices, the decoding complexity of listconstruction will be significant.

SUMMARY

It is a general objective to provide an efficient encoding and decodingof pictures in a video sequence.

It is a particular objective to provide an efficient reference picturelist handling in connection with such encoding and decoding of pictures.

These and other objectives are met by embodiments disclosed herein.

An aspect of the embodiments relates to a method of reference picturelist handling in connection with decoding an encoded representation of apicture in a video sequence. The picture comprises multiple slices. Themethod comprises providing at least one mode signaling syntax elementbased on the encoded representation The method also comprisesdetermining, based on the at least one mode signaling syntax element,whether final reference picture list or lists is or are the same for allslices of a same slice type in the picture.

A related aspect of the embodiments defines a device for referencepicture handling. The device comprises a syntax element providerconfigured to provide at least one mode signaling syntax element basedon an encoded representation of a picture in a video sequence. Thepicture comprises multiple slices. The device also comprises a listdeterminer configured to determine, based on the at least one modesignaling syntax element, whether final reference picture list or listsis or are the same for all slices of a same slice type in the picture.

Other related aspects of the embodiments define i) a decoder comprisinga device for reference picture list handling and ii) a receivercomprising an input unit configured to receive an encoded representationof a picture of a video sequence. The picture comprises multiple slices.The receiver further comprising a decoder according to the embodiments,a reference picture buffer configured to store reference pictures and anoutput unit configured to output a decoded picture.

Another aspect of the embodiments relates to a method of encoding apicture comprising multiple slices and present in a video sequence. Themethod comprises determining whether final reference picture list orlists is or are the same for all slices of a same slice type in thepicture. An encoded representation of the picture is generated. At leastone mode signaling syntax element indicative of whether final referencepicture list or lists is or are the same for all slices of the sameslice type in the picture is associated with the encoded representation.

Another related aspect of the embodiments defines an encoder forencoding a picture comprising multiple slices of a video sequence. Theencoder comprises a list determiner configured to determine whetherfinal reference picture list or lists is or are the same for all slicesof a same slice type in the picture. A representation generator isconfigured to generate an encoded representation of the picture. Theencoder also comprises a syntax element associating unit configured toassociate at least one mode signaling syntax element indicative ofwhether final reference picture list or lists is or are the same for allslices of the same slice type in the picture with the encodedrepresentation.

A further related aspect of the embodiments defines a transmittercomprising an input unit configured to receive a picture of a videosequence. The picture comprises multiple slices. The transmitter alsocomprises an encoder according to the embodiments and an output unitconfigured to output an encoded representation of the picture.

The embodiments thereby signal in the bitstream, i.e. coded data of thevideo sequence, whether slices of a same slice type in the picture haveidentical reference picture list(s). This in turn means that the decodercan use the signaled information to decide whether the computationallycomplex reference picture list construction could be performed only oncefor the slices of the picture and therefore do not need to be repeatedfor these slices.

The embodiments thereby reduce computation complexity in connection withpicture decoding but still enable full flexibility of slices.

BRIEF DESCRIPTION OF THE DRAWINGS

The invention, together with further objects and advantages thereof, maybest be understood by making reference to the following descriptiontaken together with the accompanying drawings, in which:

FIG. 1 is a schematic block diagram of a transmitter according to anembodiment;

FIG. 2 is a schematic block diagram of a receiver according to anembodiment;

FIG. 3 schematically illustrates an example of a portion of a codedvideo sequence;

FIG. 4 is a schematic block diagram of an encoder according to anembodiment;

FIG. 5 is a schematic block diagram of a decoder according to anembodiment;

FIG. 6 is a flow diagram of a method of reference picture handlingaccording to an embodiment;

FIG. 7 is a flow diagram of an additional, optional step of the methodin FIG. 6;

FIG. 8 is a flow diagram of an additional, optional step of the methodin FIG. 6;

FIG. 9 is a flow diagram of a method of reference picture handlingaccording to another embodiment;

FIG. 10 is a flow diagram of a method of reference picture handlingaccording to a further embodiment;

FIG. 11 is a flow diagram of a method of reference picture handlingaccording to still another embodiment;

FIG. 12 is a schematic block diagram of a device for reference picturehandling according to an embodiment;

FIG. 13 is a flow diagram of a method for encoding a picture accordingto an embodiment;

FIG. 14 is a flow diagram illustrating additional, optional steps of themethod in FIG. 13; and

FIG. 15 is a schematic block diagram of an encoder according to anotherembodiment.

DETAILED DESCRIPTION

Throughout the drawings, the same reference numbers are used for similaror corresponding elements.

The present embodiments generally relate to video encoding and decoding,and in particular to reference picture handling in video encoding anddecoding.

In video encoding and decoding it is generally preferred to have fullflexibility in the encoding and decoding of slices in pictures of avideo sequence. However, such flexibility comes at a cost of highcomplexity and tedious processing during decoding of slices. Forinstance, if a picture is split into a high number of slices, areference picture list initialization process must be invoked many timesin the decoder, actually once for each such slice. This is true even ifthe reference picture lists would be the same in each list and any listmodification syntax is repeated for the slices. Thus, since the decoderdoes not know that they are the same it has to execute the fullreference picture list initialization and modification process for eachslice anyway.

The present embodiments solve this and other problems in connection withvideo encoding and decoding by enabling signaling whether a finalreference picture list is or final reference pictures lists are the samefor all slices of a same slice type in the same picture. This in turnimplies that the decoding complexity can be reduced.

Hence, it is proposed to signal in the bitstream, i.e. the encoded datafrom an encoder to a decoder, at least one mode signaling syntax elementthat informs the decoder whether the final reference picture lists(s)obtained following list construction, i.e. the reference picture list(s)obtained following list initialization and optional list modification,will be the same, i.e. identical, for all slices of the same slice typein the picture. In particular, embodiments can be used to indicate thatreference picture list construction could be performed once for allslices of the same slice type in the picture.

Thus, the embodiments make it possible to signal in the bitstream to thedecoder that all slices of a same slice type in the picture will haveidentical final reference picture list(s). In this way the decoder doesnot have to repeat computationally complex reference picture listconstruction functions for each slice. Instead the decoder can performthe list construction only once per picture regardless of how manyslices there are for the particular picture.

Generally, a coded video sequence comprises Network Abstraction Layer(NAL) units 41 as illustrated in FIG. 3. Basically a NAL unit 41comprises a slice with a corresponding slice header, including controlinformation for that slice, and encoded slice data. Alternatively, theNAL unit 41 comprises, for instance, a parameter set with controlinformation. Other types of NAL units 41 are also available.

A NAL unit 41 as output from an encoder is typically complemented withheaders 42-44 to form a data packet 4 that can be transmitted as a partof a bistream from the encoder to the decoder. For instance, Real-timeTransport Protocol (RTP) 42, User Datagram Protocol (UDP) 43 andInternet Protocol (IP) 44 headers could be added to the NAL unit 41.This form of packetization of NAL units 41 merely constitutes an examplein connection with video transport. Other approaches of handling NALunits 41, such as file format, MPEG-2 transport streams, MPEG-2 programstreams, etc. are possible.

Examples of parameter sets that could be carried in NAL units 41 includeAdaptation Parameter Set (APS), Picture Parameter Set (PPS), SequenceParameter Set (SPS) and Video Parameter Set (VPS). APS comprises controlinformation valid for more than one slice. The control information maydiffer between the slices. PPS comprises control information valid forseveral pictures, and may be the same for multiple pictures of the samevideo sequence. SPS comprises control information valid for an entirevideo sequence.

A parameter set that is applicable to a given slice in a picture istypically identified based on information present in the encodedrepresentation of the slice, typically in the slice header of theencoded representation. The information is typically in the form of aparameter set identifier either directly identifying the parameter setor identifying another parameter set that comprises an identifieridentifying the parameter set. For instance, an APS or a PPS isidentified by an APS or a PPS identifier present in the slice header; anSPS is identified by an SPS identifier present in a PPS identified by aPPS identifier present in the slice header and a VPS is identified by aVPS identifier present in an SPS identified by an SPS identifier presentin a PPS identified by a PPS identifier present in the slice header.

The NAL units 41, such as shown in FIG. 3, typically arrive at thedecoder according to a decoding order and any parameter set to be usedwhen decoding the slice data has to be available at the decoder. Thedecoder knows when a parameter set is to be used since there is areference link, i.e. parameter set identifier, in the slice header tothe valid parameter set.

FIG. 6 is a flow diagram illustrating a method of reference picture listhandling in connection with decoding an encoded representation of apicture in a video sequence according to an embodiment. In thisembodiment the picture has preferably, in connection with encoding, beendivided or split into multiple, i.e. at least two, slices. Hence, thepicture preferably comprises multiple slices. The method preferablycomprises providing, in step S1, at least one mode signaling syntaxelement based on the encoded representation. A next step S2 comprisesdetermining, based on the at least one mode signaling syntax element,whether a final reference picture list is or final reference picturelists are the same for all slices of a same slice type in the picture.

The at least one syntax element provided in step S1 is used in step S2to determine whether the at least one final reference picture list isthe same for all slices of the same slice type in the picture. In aparticular embodiment step S2 comprises analyzing a respective value ofthe at least one mode signaling syntax element and performing thedetermination whether the final reference picture list or list is or arethe same for all slices of the same slice type in the picture based onthe respective value of the at least one mode signaling syntax element.

Thus, a decoder may determine or decide based on the at least syntaxelement that the final reference picture list(s) will be identical forall slices of the same slice type in the picture. In such a case, the atleast one final reference picture list can be generated in a listconstruction for a first slice of the picture when the decoder receivesand decodes the encoded representation of this first slice. Thegenerated at least one final reference picture list could then be reusedfor other, subsequently received and decoded, slices of the picturewithout the need for performing any new list construction, i.e. listinitialization and optionally a list modification.

The encoded representation of the picture preferably corresponds to atleast one respective encoded representation of a slice, such as in theform of at least one NAL unit, with a respective slice header and slicedata generated by an encoder for the picture.

The at least one mode signaling syntax element provided in step S1could, for instance, be sent in the slice header of an encodedrepresentation of a slice of the picture. In such a case, the at leastone mode signaling syntax element could be inserted into the sliceheader of the first slice of the picture. However, in order to providerobustness, for instance if the data packet carrying the encodedrepresentation of the first slice got lost, the at least one modesignaling syntax element is preferably inserted, in an embodiment, intothe slice header of each encoded representation of a slice in thepicture, i.e. for each slice of the picture.

In alternative embodiment, the at least one mode signaling syntaxelement could be sent in a parameter set associated with andidentifiable based on the encoded representation of the picture. In sucha case, the encoded representation comprises, preferably in a sliceheader, a parameter set identifier enabling identification of therelevant parameter set that comprises the at least one mode signalingsyntax element. In an embodiment, the slice header could include aparameter set identifier, such as an APS identifier or a PPS identifier,identifying the relevant parameter set, such as an APS or an PPS, thatcomprises the at least one mode signaling syntax element. Alternatively,the slice header could comprise a first parameter set identifier, suchas a PPS identifier, that identifies a first parameter set, such a PPS,which in turn comprises a second parameter set identifier, such as anSPS identifier, that identifies a second parameter set, such as an SPS,that comprises the at least one mode signaling syntax element or thatcomprises a third parameter set identifier, such as a VPS identifier,that identifies a third parameter set, such as a VPS, that comprises theat least one mode signaling syntax element.

It is also possible to signal the at least one mode signaling syntaxelement elsewhere in the bitstream from the encoder to the decoder or invarious messages or data structures associated with the bitstream. Forinstance, the information could be provided as part of Video UsabilityInformation (VUI) and/or Supplemental Enhancement Information (SEI).

The at least one mode signaling syntax element as provided in step S1could be in the form of a single mode signaling syntax element ormultiple mode signaling syntax elements. In the latter case, thesemultiple mode signaling syntax elements could be provided together inthe slice header, in the same parameter set or the same other datastructure or message. It is also possible to distribute the multiplemode signaling syntax elements so that a first mode signaling syntaxelement is found in a slice header and a second mode signaling syntaxelement is found in a parameter set, VUI or SEI. Alternatively, a firstmode signaling syntax element is found in a first parameter set and asecond mode signaling syntax element is found in a second parameter set,VUI or SEI. This concept can be extended to the case with more than twomode signaling syntax elements.

A syntax element as used herein is a codeword or data element formingpart of the encoded data generated by an encoder and to be decoded by adecoder. Hence, a syntax element is typically a codeword or dataelement, including a flag, forming part of the control data associatedwith an encoded representation or such control data or header datapresent in an encoded representation of a picture. A syntax element can,for instance, be a codeword in a slice header of the encodedrepresentation of a picture. Alternatively, a syntax element can, forinstance, be a codeword in a parameter set or other control dataassociated with the encoded representation of a picture, e.g.retrievable from the bitstream based on data present in the encodedrepresentation or sent outside of the bitstream but retrievable based ondata present in the encoded representation.

Slices are, as is well known in the art, of different slice typesdepending on how the data, i.e. pixel data, of the slice is encoded.There are generally three types of slices. An I slice or slice type 2does not use any inter prediction and therefore does not have anyreference picture lists. The other two types of slices are denoted Pslices or slice type 0 and B slice or slice type 1. Both these slicetypes use inter prediction and reference picture lists. P slices use asingle reference picture list, generally denoted L0, whereas B slice useat least two reference picture lists, generally denoted L0 and L1. Slicetype as used herein preferably relates to an inter predicted slice typehaving a single prediction direction, i.e. slice type P or 0, or havingdual, i.e. two, prediction directions, i.e. slice type B or 1.

In an embodiment step S2 in FIG. 6 comprises determining, based on theat least one mode signaling syntax element, whether a final referencepicture list, i.e. L0, is the same for all P slices in the picture andfinal reference picture lists, i.e. L0 and L1, are the same for all Bslices in the picture. This then means that all P slices in the picturewill have the same L0 list and all B slices in the picture will have thesame L0 and L1 lists.

In a particular embodiment the picture only comprises slices of the sameslice type, i.e. all the slices of the picture are P slices or allslices of the picture are B slices. In the former case, step S2comprises determining, based on the at least one mode signaling syntaxelement, whether a final reference picture list, L0, is the same for allslices in the picture. In the latter case, step S2 comprisesdetermining, based on the at least one mode signaling syntax element,whether final reference picture lists, L0 and L1, are the same for allslices in the picture.

The embodiments are also applicable to pictures which could compriseboth P slices and B slices. In such a case, the determination in step S2could be performed separately for the P slices and the B slices. Thus,all P slices in the picture have the same final reference picture listL0 that could be different from the final reference picture list L0 ofthe B slices in the picture. The B slices, though, all have the samefinal reference picture list L0 and also the same final referencepicture list L1.

In a particular embodiment, all the P slices and all the B slices of thepicture could have the same final reference picture list L0 as indicatedby the at least one mode signaling syntax element. In such a case, stepS2 preferably comprises determining, based on the at least one modesignaling syntax element, whether a final reference picture list L0 isthe same for all P slices and all B slices in the picture and a finalreference picture list L1 is the same for all B slices in the picture.

The at least one mode signaling element typically indicates a listconstruction mode to be used in the list construction for the slices inthe picture. Thus, the at least one mode syntax element preferablyindicates which out of multiple such list construction modes thatapplies to the slices of the picture. For instance, a first such listconstruction mode involves that the final reference picture list(s)is(are) the same for all slices of the same slice type in the picture. Asecond list construction mode could then involve that the finalreference picture list(s) do(es) not need to be the same for all slicesof the same slice type in the picture. In this latter case there istherefore no restriction on the number of different final referencepicture lists that can be used for the picture. Hence, there may be asmany final reference picture lists or pairs of final reference picturelists as there are slices in the picture.

In an embodiment step S2 therefore comprises determining, based on theat least one mode signaling syntax element, whether i) the finalreference picture list(s) is(are) the same for all slices of the sameslice type in the picture or ii) the number of different referencepicture lists used in the picture is unrestricted.

The at least one mode signaling syntax element may, in a particularembodiment, be used to determine whether reference picture listconstruction can be performed once for all the slices of the picturethat are of the same slice type.

For instance, it could be determined, in step S2, whether all P slicesor all B slices of a picture could use the same reference picture listconstruction based on the at least one mode signaling syntax elementprovided in step S1. In such a case, reference picture list constructiononly needs to be performed once for all the P slices or B slices of therelevant picture.

This means that the at least one mode signaling syntax element providedbased on the encoded representation in step S1 can be used by thedecoder to determine whether a single reference picture listconstruction could be performed for all the slices of the picture thatare of a same slice type. This in turn implies that it is possible forthe decoder to reuse the at least one reference picture list constructedfor a first slice of the picture during the decoding of any followingslice(s) of the picture, preferably of any following slice(s) of thepicture that is(are) of a same slice type.

Reference picture list construction involves, which is known in the art,constructing at least one reference picture list, denoted finalreference picture list herein, for a slice to be decoded. This at leastone final reference picture list comprises information, such as pictureidentifiers, e.g. in the form of picture order counts (POCs), of atleast one previously decoded picture of the video sequence that can beused as decoding basis for the current picture and/or for following,according to a decoding order, pictures of the video sequence. Thereference picture list construction could, for instance, generate onereference picture list, such as for P slices, or multiple, such as two,reference picture lists, such as for B slices.

The reference picture list construction typically involves a referencepicture initialization that generates at least one initial referencepicture list based on control information provided in the bitstream ofthe video sequence. The control information could, for instance, includethe picture identifiers of the reference pictures of the at least oneinitial reference picture list or information enabling calculation ofthese picture identifiers.

This at least one initial reference picture list could be used, duringdecoding of a slice, as the at least one final reference picture list.In such a case, the reference picture list construction basically onlycomprises the reference picture list initialization.

However, it could be possible that the bitstream comprises optional listmodification syntax. In such a case, the decoder checks the value(s) ofsuch list modification syntax element(s), typically in the form of listmodification presence flag(s), and performs list modification operationson the at least one initial reference picture list based on the listmodification syntax element(s) to get at least one modified referencepicture list to be used as the at least one final reference picture listwhen decoding the slice.

An example of reference picture list modification syntax could be asdefined below:

ref_pic_list_modification( ) { Descriptor  if( slice_type != 2) {  ref_pic_list_modification_flag_l0 u(1)   if(ref_pic_list_modification_flag_l0 )    do {     list_modification_idcue(v)     if( list_modification_idc != 3 )      ref_pic_set_idx    }while( list_modification_idc !=3 )  }  if( slice_type == 1 ) {   ref_pic_list_modification_flag_l1 u(1)    if(ref_pic_list_modification_flag_l1 )     do {      list_modification_idcue(v)      if( list_modification_idc != 3 )       ref_pic_set_idx     }while( list_modification_idc !=3 )   }  }

In an embodiment the range of list_modification_idc could be 0 to 3,inclusive, and the different codewords correspond to different listmodifications. An example of such list modifications could be as definedin Table 1 below.

TABLE 1 list modifications list_modification_idc List modification 0 Forlist 0: ref_pic_set_idx is present and corresponds to an index toRefPicSetStCurr0 For list 1: ref_pic_set_idx is present and correspondsto an index to RefPicSetStCurr1 1 For list 0: ref_pic_set_idx is presentand corresponds to an index to RefPicSetStCurr1 For list 1:ref_pic_set_idx is present and corresponds to an index toRefPicSetStCurr0 2 Ref_pic_set_idx is present and corresponds toRefPicSetLtCurr 3 End loop for modification of the initial referencepicture list

The above presented reference picture list modification syntax and listmodification should merely be seen as illustrative but non-limitingexamples of picture list modification operations that could be performedduring the reference picture list construction.

The present embodiments are particularly suitable if the picture in thevideo sequence comprises multiple, i.e. at least two, slices. It ispossible that the video sequence comprises some pictures that onlycomprise a respective slice and some pictures that comprise multipleslices. The embodiments are however also applicable to cases where thevideo sequence comprises pictures with only a single picture. This isparticularly advantageous since the decoder generally does not know onbeforehand that there will only be one slice per picture. Theembodiments therefore provide at least one mode signaling syntaxelement, which informs the decoder that if at least one additional sliceof the picture is to be received they will share at least one sliceelement that is kept the same.

FIG. 7 is a flow diagram illustrating an additional, optional step S10of the method in FIG. 6. The method starts in step S10 where an encodedrepresentation of a picture is received, such as in the form of one ormore data packets comprising NAL unit(s) with encoded representation(s)of slice(s) of the picture. The method then continues to step S1 of FIG.6, where the at least one syntax element is provided based on thereceived encoded representation.

FIG. 8 is a flow diagram illustrating an additional, optional step S12of the method in FIG. 7. The method typically continues from step S2 inFIG. 6. Step S12 then comprises determining, based on the at least onemode signaling syntax element, whether any reference picture listmodification is applied to an initial reference picture list or initialreference picture lists to form the final reference picture list or thefinal reference picture lists. The method then ends.

In this embodiment, the at least one mode signaling syntax element istherefore also employed to signal whether the list constructioncomprises, preferably only comprises, list initialization or comprisesboth list initialization and list modification. Thus, the at least onemode signaling syntax element is indicative of whether the initialreference picture list(s) obtained from the list initialization is(are)to be used as the final reference picture list(s) or whether referencepicture list modification is to be applied to the initial referencepicture list(s) to form modified reference picture list(s) that is(are)used as the final reference picture list(s).

The at least one mode signaling syntax element preferably comprises, inthis embodiment, a first mode signaling syntax element indicative ofwhether final reference picture list(s) is(are) the same for all slicesof the same slice type in the picture and a second mode signaling syntaxelement indicative of whether any reference picture list modification isapplied to initial reference picture list(s) to form the final referencepicture list(s). These embodiments will now be further discussed belowwith reference to FIGS. 9-11.

FIG. 9 is a flow diagram illustrating various embodiments of the methodof reference picture list handling. The method generally starts in stepS20 where a reference picture list (RPL) flag is provided as a firstmode signaling syntax element based on the encoded representation of thepicture. This RPL flag could, for instance, be retrieved from aparameter set, such as SPS, or other control information, such as VUI,associated with the encoded representation.

In a next step S21 the value of the RPL flag provided in step S20 isinvestigated. If the RPL flag has a first value, such as 1_(bin) (or0_(bin)), the method continues to step S22. Step S22 comprisesdetermining that the final reference picture list(s) is(are) the samefor all slices of the same slice type in the picture.

However, if the RPL flag instead has a second value, such as 0_(bin) (or1_(bin)), the method instead continues to step S23. Step S23 comprisesdetermining that the final reference picture list(s) do(es) not need tobe the same for all slices of the same slice type in the picture.

Thus, in this embodiment the at least one mode signaling syntax elementis or at least comprises a RPL flag, i.e. an 1-bit syntax element. TheRPL flag can thereby signal one out of two possible list constructionmodes, i.e. that the final reference picture list(s) is(are) the same ordo not need to be the same for all the slices in the picture.

The method could then end. In an alternative embodiment the methodcontinues to step S24. This step S24 comprises providing a RPLmodification flag as a second mode signaling syntax element based on theencoded representation. This RPL modification flag could, for instance,be retrieved from a parameter set, such as SPS or PPS, identified basedon a parameter set identifier, such as PPS identifier, retrieved fromthe slice header or based on a parameter set identifier, such as SPSidentifier, retrieved from another parameter set, such as PPS,identified based another parameter set identifier, such as PPSidentifier, retrieved from the slice header.

In a next step S25 the value of this RPL modification flag is checked.If the RPL modification flag has a first value, such as 1_(bin) (or0_(bin)), the method continues to step S26. Step S26 comprisesdetermining that at least one initial reference picture list obtained ina reference picture list initialization is to be used as the at leastone final reference picture list. Thus, in this case no listmodifications are to be applied to the at least one initial referencepicture list. If the RPL flag had the first value as determined in stepS21 this step S26 thereby comprises determining that the at least oneinitial reference picture list obtained in the reference picture listinitialization is to be used as the at least one final reference picturelist for all slices of the same slice type in the picture. If step S21instead determined that the RPL flag had the second value this step S26comprises determining that the at least one initial reference picturelist obtained for the current slice of the picture is to be used as theat least one final reference picture list for the current slice.

If the RPL modification flag provided in step S24 instead has a secondvalue, such as 0_(bin) (or 1_(bin)), as determined in step S25 themethod continues to step S27. This step S27 then comprises determiningthat at least one modified reference picture list obtained by modifyingat least one initial reference picture list obtained in a referencepicture list initialization is to be used as the at least one finalreference picture list. Thus, in this case list modification ormodifications will be applied to the at least one initial referencepicture list.

If the RPL flag had the first value as determined in step S21 this stepS27 thereby comprises determining that the at least modified referencepicture list obtained by modifying the at least one initial referencepicture list obtained in the reference picture list initialization is tobe used as the at least one final reference picture list for all slicesof the same slice type in the picture. If step S21 instead determinedthat the RPL flag had the second value this step S27 comprisesdetermining that the at least one initial reference picture listobtained for the current slice of the picture is to be modified in alist modification to obtain at least one modified reference picturelist, which used as the at least one final reference picture list forthe current slice.

Steps S24, S25 and S26 or steps S24, S25 and S27 need only be performedonce for all slices of the same slice type, preferably one for allslices of the picture, if step S21 involved determining that the RPLflag had the first value and the method continued to step S22. However,if step S21 instead involved determining that the RPL flag had thesecond value and the method continued to step S23 steps S24, S25 and S26or S27 are preferably performed once for each slice in the picture.

FIG. 10 is a flow diagram illustrating various embodiments of the methodof reference picture list handling. The method generally starts in stepS30 where a reference picture list (RPL) flag is provided based on theencoded representation of the picture. This step S30 basicallycorresponds to step S20 in FIG. 9 and is not further described herein.

In a next step S31 the value of the RPL flag provided in step S30 isinvestigated. If the RPL flag has a first value, such as 1_(bin) (or0_(bin)), it is determined, in this step S31, that all slices of thesame slice type in the picture have identical final reference picturelist or lists. The method then continues to the optional step S32.However, if the RPL flag instead has a second value, such as 0_(bin) (or1_(bin)), it is preferably determined in step S31 that all slices of thesame slice type in the picture do not need to have identical finalreference picture list(s). In such a case, the method continues to stepS40.

If the RPL flag has the second value as determined in step S31, in anembodiment, all the slices of the picture that are of the same slicetype could have the same final reference picture list or lists or theycould have different final reference picture list or lists. Hence, thedecoder cannot assume that the P slices of the picture all have the samefinal reference picture list or that the B slices of the picture allhave the same reference picture lists.

The optional step S32 preferably comprises setting a respective firstparameter indicative of a number of reference pictures (RP) in a firstreference picture list (RPL), i.e. L0, to a same value for all slices ofthe same slice type in the picture, preferably for all slices (P slicesand B slices) in the picture. For instance, the parameter num_refidx_l0_active_minus1 that defines the number of reference pictures inthe reference picture list L0 could be set to the same value for the Pand B slices in the picture in step S32. In such a case, the value ofthis first parameter is preferably retrieved based on the encodedrepresentation of the first slice of the picture. This first parametercould, for example, be retrieved from the slice header of the encodedrepresentation of the first slice.

In a next optional step S33 it is investigated whether the slice type isa so-called B slice or slice type 1. In such a case, at least tworeference picture lists are generated for the B slice(s) of the picture.If it is concluded in step S33 that the slice type is a B slice type themethod continues to the optional step S34. This optional step S34comprises setting a respective second parameter (RP) indicative of anumber of reference pictures in a second reference picture list (RPL),i.e. L1, to a same value for all B slices of the picture. For instance,the parameter num_ref idx_l1_active_minus1 that defines the number ofreference pictures (RP) in the reference picture list (RPL) L1 could beset to the same value for all B slices in the picture in step S34. Insuch a case, the value of this second parameter is preferably retrievedbased on the encoded representation of the first slice of the picture.This second parameter could, for example, be retrieved from the sliceheader of the encoded representation of the first slice.

In these cases, the values of num_ref idx_l0_active_minus1 and num_refidx_l1_active_minus1 only need to be determined for the first slice ofthe picture. Thus, the values are parsed and decoded for the first sliceof the picture and then stored in a memory. These values can then bereused, without any data parsing and decoding, for any remainingslice(s) of the picture that is(are) of the same slice type, optionallyby retrieving or reading the values from the memory.

In an embodiment a next step S35 comprises performing reference picturelist (RPL) initialization. Hence, the method then continues from stepS34 for B slices or from step S33 for P slices to step S35. Thereference picture list initialization determines at least one initialreference picture list based on the encoded representation in aso-called reference picture list initialization, as previously discussedherein. If the method continued from step S33 one such initial referencepicture list (L0) is preferably determined, whereas two initialreference picture lists (L0, L1) are preferably determined in step S35if the method continued from step S34.

The reference picture list initialization preferably involves listingpicture identifiers of the previously decoded pictures of the videosequence that could used as reference pictures for the present pictureand/or following, according to the decoding order, pictures in the videosequence. The decoded pictures are, as is well known in the art,generally stored in the decoder in a decoded picture buffer (DPB), alsodenoted reference picture buffer. In such a case, an initial referencepicture list could include identifiers or pointers to reference picturesin the DPB and where these reference pictures have been selected oridentified based on information, such as POCs or data enablingcalculation of POCs, retrieved based on the encoded representation.

In an embodiment a step S36 comprises providing a RPL modification flagbased on the encoded representation. This step S36 preferablycorresponds to step S24 in FIG. 9 and is not further disclosed.

If the RPL modification flag has the first value, such as 1_(bin) (or0_(bin)), as determined in step S37 the at least one initial referencepicture list obtained in the reference picture list initialization instep S35 is used as the at least one final reference picture list forall slices of a same slice type in the picture.

If the RPL modification flag provided in step S36 instead has a secondvalue, such as 0_(bin) (or 1_(bin)), as determined in step S37 at leastone modified reference picture list obtained by modifying the at leastone initial reference picture list obtained in the reference picturelist initialization in step S35 is to be used as the at least one finalreference picture list for all slices of the same slice type in thepicture. Thus, in this case one or more list modification operationsshould be performed on the at least one initial reference picture listin order to get the final modified reference picture list(s) for thepicture.

The method therefore, in this embodiment, continues from step S37 tostep S38. In step S38 modification syntax is provided based on theencoded representation of the picture. Hence, at least one listmodification parameter or syntax element is provided based on theencoded representation of the picture. The list modificationparameter(s) is(are) preferably retrieved from the slice header in theencoded representation but could, alternatively, be provided from aparameter set or other data structure identifiable based on dataincluded in the encoded representation. Non-limiting examples of listmodification parameters are presented in Table 1 above.

The at least one list modification parameter provided in step S38 isthen used in step S39 to modify at least one initial reference picturelist (RPL) of the at least one initial reference picture list obtainedin step S35 to get the at least one modified reference picture list.

In FIG. 10 the reference picture list initialization in step S35 isdisclosed as being performed prior to the provision of the RPLmodification flag in step S36. In alternative embodiments, step S35 isperformed at least partly in parallel with step S36 or after step S36.It is even possible to perform step S35 at least partly in parallel withor after step S37 or S38 in FIG. 9.

If the RPL flag provided in step S30 has the second value as determinedin step S31 all slices of the picture that are of the same slice type donot necessarily have to have identical final reference picture list(s).

The method then continues from step S31 to step S40. In this step S40reference picture list (RPL) initialization is performed for thecurrent, typically the first, slice of the picture. This step S40 isbasically performed as previously discussed in connection with step S35.Thus, the initial reference picture list L0 or the initial referencepicture lists L0, L1 are determined, depending on whether the currentslice is a P slice or a B slice.

In a next optional step S41 it is investigated whether there is anymodification syntax for the current slice. Hence, this optional step S41preferably comprises investigating whether there is at least one listmodification parameter for the current slice, such as present in theslice header of the encoded representation of the current slice. Ifthere is any such list modification parameter, the parameter(s) is(are)provided based on, such as parsed and decoded from, the encodedrepresentation of the current slice in step S41. This step S41 basicallycorresponds to step S38.

A next optional step S42 is performed if at least one list modificationparameter was provided in step S41. In step S42 the at least one initialreference picture list (RPL) obtained in step S40 is modified based onthe at least one list modification parameter provided in step S41. Thisstep S42 basically corresponds to step S39.

In this case, i.e. since the RPL flag had the second value, the loop ofstep S40 and the optional steps S41, S42 is repeated for each slice ofthe picture. This means that compared to the previously disclosedembodiments, for which reference picture list initialization (in stepS35) and optional list modification (in step S39) is only performed oncefor all slices of the same slice type, the reference picture listinitialization (in step S40) is performed once for each slice in thepicture and steps S41 and S42 are also performed once for each slice ofthe picture that comprise such list modification parameter(s).

Note that even if step S40 is performed once for each slice of thepicture steps S41 and S42 are only performed for those slices of thepicture that comprise or are associated with any list modificationparameter(s).

The loop of steps S40 and S42 typically also comprises stepscorresponding to steps S32 to S34, i.e. setting the number of referencepictures in the first reference picture lists and, for any B slices, inthe second reference picture lists (compare to steps S32 and S34).However, in clear contrast to the case when the reference picture listflag has the first value the number of reference pictures in the firstand second reference picture lists could be set differently fordifferent slices of the same slice type in the picture when performed asa part of the loop of steps S40 and S42. In such a case, theseadditional steps are preferably performed prior to step S40 and aretherefore performed once for each slice in the picture.

In an embodiment as disclosed in FIG. 10 three possible modes orvariants are possible as defined by the at least one mode signalingsyntax element as represented by the RPL flag and the RPL modificationflag in FIG. 10.

Mode 1—The final reference picture list(s) is(are) the same in allslices of the picture (S30-S39).

Mode 2—No restriction, the number of different reference picture liststhat is used in one picture is unrestricted and may be as many as thereare slices in that picture (steps S30, S31, S40-S42).

Mode 3—No modification of reference picture lists. This means that allslices use the same reference picture list(s), namely the referencepicture list(s) that is(are) initialized. There is no list modificationdone in any slice (steps S30-S37).

In the embodiments disclosed in FIG. 10 the presence of the RPLmodification flag is conditioned on the value of the RPL flag. In otherwords, the RPL modification flag is investigated and used in step S37 ifthe RPL flag has the first value as determined in step S31.

In alternative embodiments the RPL flag and the RPL modification flagcould be independent from each other as shown in FIG. 11. This FIG. 11is a variant of FIG. 10 but where the presence of the RPL modificationflag is not conditioned on the value of the RPL flag.

The embodiments as shown in FIG. 11 therefore encompass steps S30 to S34relating to the provision of the RPL flag and usage of this RPL flag inorder to determine whether all slices of the same slice type in thepicture have identical reference picture list or lists or determinewhether the slices of the same slice type in the picture do not need tohave identical reference picture list or lists. These steps S30 to S34are performed as previously discussed in connection with FIG. 10.

The method then continues to steps S35, S36 and S37 and thereafter endsif the RPL modification flag has the first value, i.e. indicating thatno list modification should be performed and that the at least oneinitial reference picture list obtained in the reference picture listinitialization of step S35 is to be used as the at least one finalreference picture list for the slices of the same slice type thepicture. Alternatively the method continues to steps S35, S36 and S37and further to steps S38 and S39 if the RPL modification flag has thesecond value, i.e. indicating that list modifications should beperformed and that the at least one modified reference picture listobtained in step S39 is to be used as the at least one final referencepicture list for the slices of the same slice type in the picture.

In the embodiment of FIG. 11 four modes are possible since the methoduses two flags, i.e. the RPL flag and the RPL modification flag, andeach flag can assume one out of two values (0_(bin) and 1_(bin)).

Mode 1—If the RPL flag has the first value and the RPL modification flaghas the second value (steps S30-S39) the at least one modified referencepicture list is to be used for all slices of the picture that are of thesame slice type.Mode 2—If the RPL flag has the first value and the RPL modification flaghas the first value (steps S30-S37) the at least one initial referencepicture list is to be used for all slices of the picture that are of thesame slice type.Mode 3—If the RPL flag has the second value and the RPL modificationflag has the second value (steps S30-S31, S35-S39) the slices of thepicture do not need to have identical reference picture list or listsand list modifications can be used to modify the at least one initialreference picture list.Mode 4—If the RPL flag has the second value and the RPL modificationflag has the first value (steps S30-S31, S35-S37) the slices of thepicture do not need to have identical reference picture list or listsbut list modifications are not used for any slice of the picture forwhich the RPL modification flag has the first value.

FIG. 13 is a flow diagram illustrating a method of encoding a picture ofa video sequence, where the picture comprises multiple slices. Themethod generally starts in step S50, in which it is determined whetherfinal reference picture list or lists is or are the same for all slicesof a same slice type in the picture.

In a next step S51 an encoded representation of the picture isgenerated. This step S51 generally comprises encoding, typicallyindependently encodes, each slice of the picture into a respectiveencoded representation of the slice comprising a respective slice headerand slice data. The encoded representations of the slices are typicallyorganized into NAL units, which may be further packaged into datapackets as previously disclosed herein.

The method also comprises step S52, in which at least one mode signalingsyntax element indicative of whether the final reference picture list orlists is or are the same for all slices of the same slice type in thepicture is associated with or to the encoded representation. This stepS52 can be performed prior to, after or substantially in parallel withstep S51.

Associating the at least one mode signaling syntax element with theencoded representation can be performed according to various embodimentsas mentioned herein. The information could, for instance, be added tothe encoded representation, such as inserted into the slice header ofthe encoded representation in step S52. The at least one mode signalingsyntax element could be inserted into the encoded representation of thefirst slice of the picture, such as in the slice header for this firstslice in step S52. However, in order to provide robustness in the casethe encoded representation of the first slice got lost during thetransmission from the encoder to the decoder, each encodedrepresentation of a slice for the picture preferably comprises the atleast one syntax element.

As an alternative of inserting the at least one mode signaling syntaxelement into the slice header of the encoded representation of theslices for the picture the at least one mode signaling syntax elementcould be inserted, in step S52, into one or more parameter sets. In sucha case, one or more parameter set identifiers enabling identification ofthe relevant parameter set(s) is(are) inserted, in step S52, into theencoded representation of the picture, for instance in the slice headersof each slice in the picture. It is also possible to include the atleast one mode signaling syntax element in other data structures, suchas VUI and/or SEI.

If the at least one mode signaling syntax element comprises multiplemode signaling syntax elements, such as multiple flags, these could bedistributed among a parameter set, other data structure, such as VUI orSEI, and slice headers as previously disclosed herein.

When inserting the at least one mode signaling syntax element into aparameter set or other data structure, such as VUI, the at least onemode signaling syntax element typically applies to a sequence ofmultiple pictures in the video stream, possibly all pictures in thevideo stream. In more detail, if a mode signaling syntax element ispresent in a parameter set, such as SPS, or other data structure, suchas VUI, the mode signaling syntax element applies to all pictures in thevideo stream that refer to this parameter set or this data structure. Inother words, the mode signaling syntax element applies to all picturesthat comprise a parameter set identifier directly or indirectly (PPSidentifier to a PPS that comprises an SPS identifier to the SPS)identifies the parameter set or an identifier or other informationdefining that the data structure, such as VUI, applies to the pictures.

In such an approach the associating step S52 of FIG. 13 could involveinserting, into a parameter set or a data structure associated with thebitstream, a mode signaling syntax element indicative of whether finalreference picture list or lists is or are the same for all slices of asame slice type in any picture for which the parameter set or datastructure applies. Step S52 further comprises inserting a parameter setidentifier or data structure identifying information enablingidentification of the parameter set or data structure into a respectiveencoded representation of the any picture.

This means that the mode signaling syntax element does not necessarilyneed to be determined for each picture in the video stream. In clearcontrast, a mode signaling syntax element could be determined once andincluded in a parameter set or other data structure and then apply to asequence of pictures in the video stream that refer to this parameterset or data structure through a respective parameter set identifier ordata structure identifier.

FIG. 14 is a flow diagram illustrating additional, optional steps of themethod in FIG. 13. In step S60 a RPL flag is set or determined to afirst value, such as 1_(bin) (or 0_(bin)), if the final referencepicture list(s) is(are) the same for all slices of the same slice typein the picture. Correspondingly, in step S60 the RPL flag is set ordetermined to a second value, such as 0_(bin) (or 1_(bin)), if the finalreference picture list(s) do(es) not need to be the same for all slicesof the same slice type in the picture.

The method could then, in an embodiment, continue to step S51 of FIG.13. The set RPL flag is then associated with the generated encodedrepresentation of the picture, such as included in an SPS referred to bythe encoded representation or in a VUI.

In an optional embodiment an additional step S61 could be performed. Inan embodiment this step S61 is performed if the RPL flag as set ordetermined in step S60 to have the first value, i.e. if all the slicesof the same slice type in the picture have identical final referencepicture list(s). In another embodiment step S61 is not dependent on thevalue of the RPL flag. Hence, in this embodiment step S61 is performedeven if the RPL flag is set to have the second value in step S60.

In step S61 a RPL modification flag is set or determined to have a firstvalue, such as 1_(bin) (or 0_(bin)), if at least one initial referencepicture list obtained in a reference picture list initialization is tobe used as the at least one final reference picture list for all slicesof the same slice type in picture. Thus, the RPL modification flag isset to have the first value if no list modification operations should beperformed on the at least one initial reference picture list for theslices.

Correspondingly, in step S61 the RPL modification flag is preferably setor determined to have a second value, such as 0_(bin) (or 1_(bin)), ifat least one modified reference picture list obtained by modifying atleast one initial reference picture list obtained in a reference picturelist initialization is to be used as the at least one final referencepicture list for all slices of the picture that are of the same slicetype. Thus, the RPL modification flag is set to have the second value ifat least one list modification operation should be performed on aninitial reference picture list to get a modified reference picture listfor the slices.

The method then continues to step S51 of FIG. 13 where the RPL flag asset in step S60 and the optional RPL modification flag as set in stepS61 are associated with the encoded representation of the picture. Forinstance, the flags could be included in a parameter set, such as SPS orPPS, or the RPL flag could be included in a VUI whereas the RPLmodification flag is included in a parameter set, such as SPS or PPS.

Various example embodiments will now be further described herein.

In a first example embodiment, the slice elements comprise, i.e. themode signaling syntax elements signal, three possible modes that thedecoder can deduce from the bitstream:

1. The final reference picture lists are the same in all slices of thesame picture. It should be noted that modification information is sentrepeatedly in each slice header.2. No restriction, the number of different reference picture lists thatis used in one picture is unrestricted and may be as many as there areslices in that picture.3. No modification of reference picture lists. This means that allslices use the same reference picture lists, namely the initialreference picture list(s) that is(are) initialized. There is no listmodification done in any slice.

In a preferred example a syntax element in the SPS or in the PPSindicates which mode is used for all pictures that reference theparameter set. When mode 3 is used for a specific picture, no referencepicture list modification syntax is signaled in the slice headers inthat picture. For HEVC, the presence of reference picture listmodification syntax is conditioned on the mode:

if( mode != 3 )  ref_pic_list_modification( )  ref_pic_list_combination()

Alternatively, if reference picture list combination is not used:

if( mode != 3 ) ref_pic_list_modification( )

Note that the numbering of the modes is just an example. The actualnumbering may be different, e.g. use 0, 1, 2 instead of 1, 2, 3.

In one example, the three modes listed above are signaled using twoflags in, for instance, the SPS where the second flag is conditioned onthe first flag. The syntax and semantics for HEVC may look like this:

seq_parameter_set_rbsp( ) { Descriptor   ...  identical_ref_pic_lists_flag u(1)   if( identical_ref_pic_lists_flag== 1) {    ref_pic_list_modification_not_present_flag u(1)   }   ... }

identical_ref_pic_lists_flag, i.e. the previously mentioned RPL flag,equals to 1 indicates that all slices of the same slice type that belongto the same picture have identical reference picture lists.identical_ref_pic_lists_flag equal to 0 indicates that there may beslices of the same slice type that belong to the same picture that havedifferent reference picture lists. num_ref idx_l0 active_minus1 andnum_ref idx_l1_active_minus1 shall when present be identical for allslices of the same slice type that belong to the same picture whenidentical_ref_pic_lists_flag is equal to 1.

ref_pic_list_modification_not_present_flag, i.e. the previouslymentioned RPL modification flag, equal to 1 specifies that the syntaxelements ref_pic_list_modification_flag_l0,ref_pic_list_modification_flag_l1 and, the optional,ref_pic_list_combination_flag are not present.no_ref_pic_list_modification_present_flag equal to 0 specifies thatsyntax elements ref_pic_list_modification_flag_l0,ref_pic_list_modification_flag_l1 and optionallyref_pic_list_combination_flag are present. Whenref_pic_list_modification_present_flag is not present, it shall beinferred to be equal to 0.

slice_header( ) {  ...  if( ref_pic_list_modification_not_present_flag== 0 ) {     ref_pic_list_modification( )  ref_pic_list_combination( ) }  ... }

Alternatively, if reference picture list combination is not used:

slice_header( ) {   ...   if( ref_pic_list_modification_not_present_flag== 0 ) {     ref_pic_list_modification( )   }   ... }

When ref_pic_list_modification_flag_l0 is not present, it shall beinferred to be equal to 0. When ref_pic_list_modification_flag_l1 is notpresent, it shall be inferred to be equal to 0. When the optionalref_pic_list_combination_flag is not present, it shall be inferred to beequal to 0.

In a second example embodiment, the slice elements comprise thatreference picture list modifications are defined to always be the samefor all slices of a picture.

In a preferred example there are two possible modes that the decoder candeduce from the bitstream:

1. Same modification in all slices of the same picture2. No modification of reference picture lists

In a preferred example a syntax element in the SPS or in the PPSindicates which mode is used for all pictures that reference theparameter set. When mode 2 is used for a specific picture, no referencepicture list modification syntax is signalled in the slice headers ofthat picture.

The second example embodiment is identical to the previous exampleembodiment but without the flag. It is like the flag is alwaysindicating that the lists are equal, only that there is no flag sent inthis example embodiment.

In a third example embodiment the reference picture list modificationsyntax is changed to save bits when reference picture list modificationis not used for a specific B slice. In the current design of HEVC thereare two flags, each using one bit, are used for B slices to signal thatno reference picture list modifications are used. This exampleembodiment consists of introducing a single one-bit flag to control orreplace the other two flags. A simplified version of the current syntaxis shown in the syntax example below. If the slice type is P or B, oneflag is parsed that indicates whether there are modifications for the L0list which is used for both P and B slices. If the slice type is B, oneflag to indicate whether there are modifications for the L1 list isparsed. This means that there are two flags to parse for the case whenthere are no list modifications.

Prior art syntax: ref_pic_list_modification( ) { Descriptor   if(slice_type != 2 ) {    ref_pic_list_modification_flag_l0 u(1)    if(ref_pic_list_modification_flag_l0 )      modification_l0( )   }   if(slice_type == 1 ) {    ref_pic_list_modification_flag_l1 u(1)    if(ref_pic_list_modification_flag_l1 )      modification_l1( )   } }

As an example, if you want to signal that there are no modifications fora B slice, the bitstream needs to contain two bits,ref_pic_list_modification_flag_l0=0 andref_pic_list_modification_flag_l1=0.

The simplified syntax in which the two other flags are conditioned on(controlled by) the first flag could for example look like the syntaxexample below. Here one flag is introduced to indicate whether there aremodifications for either L0 or L1. This means that only one flag needsto be parsed for the case where there are no modifications, which savesone bit for this case.

Example syntax: ref_pic_list_modification( ) { Descriptor   if(slice_type != 2 ) {     ref_pic_list_modification_flag u(1)     if(ref_pic_list_modification_flag ) {     ref_pic_list_modification_flag_l0 u(1)      if(ref_pic_list_modification_flag_l0 )       modification_l0( )      if(slice_type == 1 ) {       ref_pic_list_modification_flag_l1 u(1)      if( ref_pic_list_modification_flag_l1 )          modification_l1()      }     }   } }

The syntax in which the two other flags are replaced by the first flagcould for example look like this:

ref_pic_list_modification( ) { Descriptor   if( slice_type != 2 ) {   ref_pic_list_modification_flag u(1)    if(ref_pic_list_modification_flag ) {       modification_l0( )       if(slice_type == 1 )        modification_l1( )    }   } }

The example with no modifications for a B slice will for both these newsyntax structures need only one bit, namelyref_pic_list_modification_flag=0. That is one bit less than for theprior art syntax.

In the current design of HEVC there is a restriction that none ofmodification_l0( ) and modification_l1( ) can contain zeromodifications, i.e. the first value in the loop must not be the“end-of-loop”-value. In the second version of this example embodiment(where the two flags are replaced by a single flag) it is preferred toremove this restriction. Alternatively the restriction can be kept for Pslices and changed for B slices such that it is specified that not bothmodification_l0( ) and modification_l1( ) can contain zero entries. Thatmeans that for at least one of the loops the first value must not be the“end-of-loop”-value.

The third example embodiment can be combined with any of the otherexample embodiments. The simplified syntax is in this example embodimentinformation indicative of one or more slice elements which are kept thesame for all slices in a picture.

The picture list construction mechanisms in HEVC are very flexible. Fullflexibility is provided by using ref_pic_list_modification( ) andoptionally ref_pic_list_combination( ) syntax. Moreover, referencepicture list construction is done separately for each slice, enablingthe use of different lists within the same picture.

Although the possibility of using different reference picture lists fordifferent parts of the picture is nice, it is very rare to see this usedin real-life bitstreams. Also, the reference picture list constructionprocess is a burden for the decoder if there are many slices for eachpicture, since reference picture list construction is generally not partof decoding hardware but done on relatively slow general purposeprocessors.

In a fourth example embodiment a flag is added to, for instance, the SPSto indicate whether different reference picture lists are used for thesame slice type in any picture in the bitstream or not. If this flag isset to 1, the reference picture lists for all slices of the same type inthe same picture are the same. Different pictures may have differentreference picture lists but reference picture list construction for allslices of the same type in one picture is identical. This means that adecoder can perform the reference picture list construction once foreach picture no matter how many slices there are. Additionally,conditioned on this first flag, another flag could be added to indicatewhether there are any reference picture list modifications at all. Ifthere are not, it is not necessary to include ref_pic_list_modification() nor the optional ref_pic_list_combination( ) in the slice header.

A possible syntax example could then be:

seq_parameter_set_rbsp( ) { Descriptor   ...   num_reorder_frames ue(v)  identical_ref_pic_lists_flag u(1)   if( identical_ref_pic_lists_flag== 1) {    ref_pic_list_modification_not_present_flag u(1)   }   ... }

identical_ref_pic_lists_flag equal to 1 indicates that all slices of thesame slice type that belong to the same picture have identical referencepicture lists. identical_ref_pic_lists_flag equal to 0 indicates thatthere may be slices of the same slice type that belong to the samepicture that have different reference picture lists. num_refidx_l0_active_minus1 and num_ref idx_l1_active_minus1 shall when presentbe identical for all slices of the same slice type that belong to thesame picture when identical_ref_pic_lists_flag is equal to 1.

ref_pic_list_modification_not_present_flag equal to 1 (or 0) specifiesthat the syntax elements ref_pic_list_modification_flag_l0,ref_pic_list_modification_flag_l1 and the optionalref_pic_list_combination_flag are not present.no_ref_pic_list_modification_present_flag equal to 0 (or 1) specifiesthat syntax elements ref_pic_list_modification_flag_l0,ref_pic_list_modification_flag_l1 and the optionalref_pic_list_combination_flag are present. Whenref_pic_list_modification_present_flag is not present, it shall beinferred to be equal to 0.

slice_header( ) { Descriptor   ...   if(ref_pic_list_modification_not_present_flag == 0 ) {    ref_pic_list_modification( )     ref_pic_list_combination( )   }  ... }

ref_pic_list_modification_flag_l0 equal to 1 specifies that the syntaxelement list_modification_idc is present for specifying referencepicture list 0. ref_pic_list_modification_flag_l0 equal to 0 specifiesthat this syntax element is not present.

When ref_pic_list_modification_flag_l0 is equal to 1, the number oftimes that list_modification_idc is not equal to 2 followingref_pic_list_modification_flag_l0 shall not exceed num_refidx_l0_active_minus1+1. When ref_pic_list_modification_flag_l0 is notpresent, it shall be inferred to be equal to 0.

ref_pic_list_modification_flag_l1 equal to 1 specifies that the syntaxelement list_modification_idc is present for specifying referencepicture list 1. ref_pic_list_modification_flag_l1 equal to 0 specifiesthat this syntax element is not present. Whenref_pic_list_modification_flag_l1 is equal to 1, the number of timesthat list_modification_idc is not equal to 2 followingref_pic_list_modification_flag_l1 shall not exceed num_refidx_l1_active_minus1+1. When ref_pic_list_modification_flag_l1 is notpresent, it shall be inferred to be equal to 0.

The optional ref_pic_list_combination_flag equal to 1 indicates that thereference picture list 0 and the reference picture list 1 are combinedto be an additional reference picture lists combination used for theprediction units being uni-directional predicted. This flag equal to 0indicates that the reference picture list 0 and reference picture list 1are identical thus reference picture list 0 is used as the referencepicture lists combination. The reference picture lists combination isset to be empty at the start of the loop defined in this table. Whenref_pic_list_combination_flag is not present, it shall be inferred to beequal to 0.

A fifth example embodiment is similar to the fourth example embodiment,but one or more HEVC profiles restrict the use ofidentical_ref_pic_lists_flag as follows. The value ofidentical_ref_pic_lists_flag shall be equal to a specific value thatindicates that final reference picture list(s) is(are) identical for allslices of the same slice type in the picture. This specific value couldbe 1.

In a sixth example embodiment the SPS RBSP syntax look like

seq_parameter_set_rbsp( ) { Descriptor   profile_idc u(8)   ...  restricted_ref_pic_lists_flag u(1)   if( restricted_ref_pic_lists_flag)    list_modification_present_flag u(1)   ... }

restricted_ref_pic_lists_flag equal to 1 indicates that all slices ofthe same slice type that belong to the same picture have identicalreference picture lists. restricted_ref_pic_lists_flag equal to 0indicates that there my be slices of the same slice type that belong tothe same picture that have different reference picture lists.

num_ref idx_active_override_flag, num_ref idx_l0_active_minus1 andnum_ref idx_l1_active_minus1 shall when present be identical for allslices having the same value of slice_type that belongs to the samepicture when restricted_ref_pic_lists_flag is equal to 1.

list_modificationpresent_flag equal to 0 specifies that the syntaxstructure ref_pic_list_modification( ) is not present in the sliceheader. list_modificationpresent_flag equal to 1 specifies that thesyntax structure ref_pic_list_modification( ) is present in the sliceheader. When not present, the value of list_modification_present_flag isinferred to be equal to 1.

slice_header( ) { Descriptor   first_slice_in_pic_flag u(1)   ...   if(list_modification_present_flag )     ref_pic_list_modification( )   ...}

A seventh example embodiment is similar to the sixth example embodimentdisclosed above but with the restriction_ref_pic_lists_flag present in aVUI and the lists_modification_present_flag present in a PPS. In anexample there are no constraints on the value combinations of these twoflags.

The presence of any VUI parameters could be signaled in the SPS asdefined below:

seq_parameter_set_rbsp( ) { Descriptor   ...  vui_parameters_present_flag u(1)   if( vui_paraemters_present_flag )   vui_parameters( )   ... }

The syntax for the VUI parameters could then be as defined below:

vui_parameters( ) { Descriptor   ...   bitstream_restriction_flag u(1)  if( bitstream_restriction_flag ) {     ...    restricted_ref_pic_lists_flag u(1)     ...   } }

The reference picture list modification flag may then be signaled in thePPS:

pic_parameter_set_rbsp( ){ Descriptor   ...  lists_modification_present_flag u(1)   ... }

Here below follows an example of a portion of the slice header syntax:

slice_header( ) { Descriptor   ...   if( slice_type == P || slice_type==B ) {     num_ref_idx_active_override_flag u(1)     if(num_ref_idx_active_override_flag ) {      num_ref_idxl0_active_minus1     if( slice_type == B )         num_ref_idxl1_active_minus1     }  ...   if( lists_modification_present_flag )    ref_pic_lists_modification( )   ... }

Descriptor ref_pic_lists_modification( ) { ref_pic_list_modification_flag_l0 u(1) if(ref_pic_list_modification_flag_l0)   for( i = 0; i ≦num_ref_idxl0_active_minus1; i++)    list_entry_l0[i] u(v)  if(slice_type == B) {   ref_pic_list_modification_flag_l1 u(1) if(ref_pic_list_modification_flag_l1)   for( i = 0; i ≦num_ref_idxl1_active_minus1; i++)    list_entry_l1[i] u(v)  } ]

restricted_ref_pic_lists_flag equal to one indicates that all slices ofthe same slice type that belong to the same picture have identicalreference picture lists. restricted_ref_pic_lists_flag equal to zeroindicates that there may be slices of the same slice type that belong tothe same picture that have different reference picture lists. The syntaxelements num_ref idx_active_override_flag, num_ref idx_l0_active_minus1,num_ref idx_l1_active_minus1, ref_pic_list_combination_flag and num_refidx_lc_active_minus1 are, when present, identical for all slices of thesame slice type that belong to the same picture whenrestricted_ref_pic_lists_flag is equal to one.

lists_modification_present_flag equal to zero specifies that the syntaxstructures ref_pic_list_modification( ) and ref_pic_list_combination( )are not present in the slice header.

lists_modification_present_flag equal to one specifies that the syntaxstructures ref_pic_list_modification( ) and ref_pic_list_combination( )are present in the slice header.

ref_pic_list_modification_flag_lX (with X equal to 0 or 1) equal to oneindicates that reference picture list X is specified explicitly as alist of list_entry_lX[i] values (with X being 0 or 1).ref_pic_list_modification_flag_lX equal to zero indicates that referencepicture list X is determined implicitly.

An eighth example embodiment is similar to the seventh exampleembodiment present above. However, in this example embodimentrestricted_ref_pic_lists_flag equal to one indicates that all P and Bslices (if present) that belong to the same picture have an identicalreference picture list 0, and that all B slices (if present) that belongto the same picture have an identical reference picture list 1.

lists_modification_present_flag equal to one specifies that the syntaxstructure ref_pic_lists_modification( ) is present in the slice segmentheader. lists_modification_present_flag equal to zero specifies that thesyntax structure ref_pic_lists_modification( ) is not present in theslice segment header.

ref_pic_list_modification_flag_l0 equal to one indicates that referencepicture list 0 is specified explicitly as a list of list_entry_l0[i]values. ref_pic_list_modification_flag_l0 equal to zero indicates thatreference picture list 0 is determined implicitly.

ref_pic_list_modification_flag_l1 equal to one indicates that referencepicture list 1 is specified explicitly as a list of list_entry_l1[i]values. ref_pic_list_modification_flag_l1 equal to zero indicates thatreference picture list 1 is determined implicitly.

FIG. 12 is a schematic block diagram of a device 100 for referencepicture list (RPL) handling. The device 100 comprises a syntax elementprovider 110, also denoted syntax element providing unit, means ormodule. The syntax element provider 110 is configured to provide atleast one mode signaling syntax element based on an encodedrepresentation of a picture in a video sequence. The picture comprisesmultiple slices.

The syntax element provider 110 could parse and decode the at least onemode signaling syntax element from the encoded representation itself,such as from the slice header of an encoded representation of a slice,typically the first slice of the picture. Alternatively, or in addition,the syntax element provider 110 retrieves the at least one modesignaling syntax element from a data structure of or associated with thebitstream of the video sequence, such as from a parameter set, VUI orSEI. In such a case, the syntax element provider 110 could identify therelevant data structure based on data retrieved from the encodedrepresentation, such as from a slice header.

The at least one mode signaling syntax element provided by the syntaxelement provider 110 is employed by a list determiner 120, also denotedlist determining unit, means or module, of the device 100. The listdeterminer 120 is configured to determine, based on the at least onemode signaling syntax element provided by the syntax element provider110, whether final reference picture list or lists is or are the samefor all slices of a same slice type in the picture.

The list determiner 120 therefore checks the value(s) of the at leastone mode signaling syntax element to determine or decide whether allslices of the same slice type in the picture could have identical finalreference picture list(s) or do not need to have identical referencepicture list(s).

In an embodiment the list determiner 120 is configured to determine,based on the at last one mode signaling syntax element, whether a finalreference picture list is the same for all P slices in the picture andfinal reference picture lists are the same for all B slices in thepicture.

In a further preferred embodiment the list determiner 120 is configuredto determine, based on the at last one mode signaling syntax element,whether a final reference picture list L0 is the same for all P slicesand all B slices in the picture and a final reference picture list L1 isthe same for all B slices in the picture.

The list determiner 120 is configured, in a particular embodiment, todetermine, based on the at last one mode signaling syntax element,whether i) the final reference picture list(s) is(are) the same for allslices of the same slice type in the picture or ii) the number ofdifferent reference picture lists used in the picture is unrestricted.

In an embodiment the syntax element provider 110 is configured toprovide a RPL flag based on the encoded representation of the picture.In such a case, the list determiner 120 is configured to determine thatthe final reference picture list(s) is(are) the same for all slices ofthe same slice type in the picture if the RPL flag has a first value.

Correspondingly, the list determiner 120 is configured to determine thatthe final reference picture list(s) do(es) not need to be the same, i.e.identical, for all slices of the same slice type if the RPL flag has asecond, different value.

The device 100 optionally comprises a list modification determiner 130,also denoted list modification determining unit, means or module. Thelist modification determiner 130 is configured to determine, based onthe at least one mode signaling syntax element, whether any referencepicture list modification is applied to initial reference picturelist(s) to form the final reference picture list(s).

In a particular embodiment the syntax element provider 110 is configuredto provide a r RPL modification flag based on the encoded representationof the picture, such as from a parameter set. The syntax elementprovider 110 is optionally configured to provide this RPL modificationflag if the RPL flag has the first value.

In such a case, the list modification determiner 130 is preferablyconfigured to determine, if the RPL modification flag has a first value,that the initial reference picture list(s) obtained in a referencepicture list initialization is(are) to be used as the final referencepicture list(s) preferably for all slices of the same slice type in thepicture. Correspondingly, the list modification determiner 130 ispreferably configured to determine, if the RPL modification flag has asecond, different value, that modified reference picture list(s)obtained by modifying the initial reference picture list(s) obtained ina reference picture list initialization is(are) to be used as the finalreference picture list(s) preferably for all slices of the same slicetype in the picture.

The device 100 preferably comprises, in an embodiment, an optional listinitiator 140, also denoted list initiating unit, means or module,configured to determine the at least one initial reference picture listin a reference picture list initialization. The list initiator 140determines the at least one initial reference picture list based on theencoded representation of the picture, such as based on syntaxelement(s) present in the slice header and/or retrieved from a parameterset based on syntax element(s) present in the slice header.

In an embodiment the device 100 preferably comprises a list modifier150, also denoted list modifying unit, means or module, configured tomodify the at least one initial reference picture list based on at leastone list modification parameter retrieved based on the encodedrepresentation of the picture.

The device 100 of FIG. 12 is preferably implemented as a part of adecoder or at least connected to and configured to operate incooperation with a decoder. FIG. 2 illustrates such a decoder 10 thatcomprises a device for reference picture list handling. The figureillustrates the decoder 10 arranged or implemented in a device, such asmobile devices, exemplified as mobile telephones, tablets, videocameras, etc. In FIG. 2 this device has been denoted as a generalreceiver 1.

The receiver 1 comprises an input or input unit 11 configured to receivea coded bitstream 4, i.e. encoded representations of pictures of a videosequence, typically in the form of NAL units as shown in FIG. 3. Thedecoder 10 then, through the device for reference picture list handling,receives the at least one syntax element. The decoder 10 uses the atleast one syntax element when determining whether the reference picturelist(s) defining which reference picture(s) 5 stored in a referencepicture buffer 13 could be reused between slices of the picture. Thereference picture(s) 5 stored in the reference picture buffer 13 couldbe used as decoding basis for the current picture and/or following,according to the decoding order, pictures of the video sequence. Thedecoder 10 is configured to decode the encoded representations based onthe reference pictures 5 as defined by the at least one referencepicture list to form decoded pictures. The receiver 1 also comprises anoutput or output unit 12 configured to output the decoded pictures 6,for instance, to be displayed on a screen or display of or connected,including wirelessly connected, to the receiver 1. Output of decodedpictures 6 could also be for alternative purposes, such as saved onfile, fed to a transcoding process, etc.

The device 100 for reference picture list handling of FIG. 12 with itsincluding units 110-150 could be implemented in hardware. There arenumerous variants of circuitry elements that can be used and combined toachieve the functions of the units 110-150 of the device 100. Suchvariants are encompassed by the embodiments. Particular examples ofhardware implementation of the device 100 is implementation in digitalsignal processor (DSP) hardware and integrated circuit technology,including both general-purpose electronic circuitry andapplication-specific circuitry.

The device can also be implemented by means of a processor and a memory.Thus, in an embodiment the device is implemented e.g. by one or more ofa processor and adequate software with suitable storage or memorytherefore, a programmable logic device (PLD) or other electroniccomponent(s).

The decoder as shown in FIG. 2 could be implemented in hardware asdiscussed above for the device for reference picture list handling. Thefunctionality of the decoder 10 could, alternatively, be implemented bymeans of a processor 16 and a memory 17 as shown in FIG. 5. The decoder10 preferably comprises the previously mentioned input unit 14 andoutput unit 15 for receiving encoded representation of pictures in avideo sequence and outputting decoded pictures, respectively.

FIG. 15 is a schematic block diagram of an encoder 200 configured toencode a picture comprising multiple slices of a video sequence. Theencoder 200 comprises a list determiner 210, also denoted listdetermining unit, means or module. The list determiner 210 is configuredto determine whether final reference picture list or lists is or are thesame for all slices of a same slice type in the picture. Arepresentation generator 220, also denoted representation generatingunit, means or module, is implemented in the encoder 200 to generate anencoded representation of the picture. The representation generator 220preferably generates the encoded representation as previously disclosedherein.

A syntax element associating unit 230, also denoted syntax elementassociator or syntax element associating means or module, is configuredto associate at least one mode signaling syntax element, indicative ofwhether the final reference picture list(s) is(are) the same for allslices of the same slice type in the picture, with the encodedrepresentation as generated by the representation generator 220. Thesyntax element associating unit 230 could, for instance, include the atleast one mode signaling syntax element in the slice header of theencoded representation or in a data structure, such as parameter set,VUI or SEI, identifiable based on the encoded representation, such as anidentifier present in the slice header.

The encoder 200 optionally comprises a reference picture list (RPL) flagsetter 240, also denoted RPL flag setting unit, means or module. The RPLflag setter 240 is configured to set a RPL flag to a first value if allmultiple slices of the same slice type in the picture have identicalfinal reference picture list(s), i.e. if the final reference picturelist(s) is(are) the same for all slices of the same slice type in thepicture. Correspondingly, the RPL flag setter 240 preferably sets theRPL flag to a second value if the final reference picture list(s) do(es)not need to be the same for all slices of the picture of the same slicetype in the picture, i.e. if all slices of the same slice type in thepicture do not need to have identical final reference picture list(s).

This RPL flag is then associated with the encoded representation, suchas included in a parameter set or VUI, by the syntax element associatingunit 230.

The encoder 200 optionally comprises a reference picture list (RPL)modification flag setter 250, also referred to as RPL modification flagsetting unit, means or module. The RPL modification flag setter 250 ispreferably configured to set a RPL modification flag to one of a firstand a second value. In a particular embodiment, the RPL modificationflag setter 250 sets the reference picture list modification flag to afirst value if initial reference picture list(s) obtained in a referencepicture list initialization is(are) to be used as the final referencepicture list(s) preferably for all slices of the same slice type in thepicture. The RPL modification flag setter 250 correspondingly sets theRPL modification flag to the second value if at least one modifiedreference picture list obtained by modifying the at least one initialreference picture list is to be used as the at least one final referencepicture list preferably for all slices of the same slice type in thepicture.

The syntax element associating unit 230 is then configured to associatethe RPL modification flag with the encoded representation, such asinclude it in a parameter set identifiable based on the encodedrepresentation.

In an embodiment, the RPL modification flag setter 250 is configured toset the RPL modification flag if the RPL flag had the first value, i.e.all the slices of the picture that are of the same slice have identicalfinal reference picture list(s).

The encoder 200 of FIG. 15 with its including units 210-250 could beimplemented in hardware. There are numerous variants of circuitryelements that can be used and combined to achieve the functions of theunits 210-250 of the encoder 200. Such variants are encompassed by theembodiments. Particular examples of hardware implementation of theencoder 200 is implementation in DSP hardware and integrated circuittechnology, including both general-purpose electronic circuitry andapplication-specific circuitry. The functionality of the encoder 200can, alternatively, be implemented by means of a processor 270 and amemory 280 as illustrated in FIG. 4. The encoder 200 typically alsocomprises an input or input unit 250 configured to receive pictures of avideo sequence to be encoded. An output or output unit 260 of theencoder 200 preferably outputs encoded representations of the pictures,such as in the form of encoded representation of the slices in thepicture in the form of NAL units.

The encoder 200 can be implemented in a device, such as a mobile device,exemplified as mobile phones, tablets, video camera, etc. FIG. 1illustrates such a device exemplified by a general transmitter 2. Thetransmitter 2 typically comprises an input or input unit 21 configuredto receive pictures 3 of a video sequence. An output or output unit 21outputs encoded representations of the pictures in the form of a codedbit stream 4.

Thus, the encoder 200 at the transmitter 1 receives pictures 3 of avideo sequence. The pictures 3 are coded into NAL units. In the encoder200 the pictures 3 are divided into slices and slice elements are keptthe same for all the slices in a picture. Information is transmittedindicative of one of more slice elements which are kept the same for allslices in the picture.

An aspect of the embodiments relates to a method of reference picturelist handling in connection with decoding an encoded representation of apicture in a video sequence. The picture comprises at least one slice,preferably multiple slices. The method comprises providing, based on theencoded representation, information indicative of whether at least oneslice element is kept the same for the at least one slice of thepicture, preferably for the multiple slices of the picture and morepreferably for all slices of a same slice type in the picture. Thisinformation is used to determine whether reference picture listconstruction can be performed once for the at least one slice of thepicture, preferably for the multiple slices of the picture and morepreferably for all slices of a same slice type in the picture.

A related another aspect of the embodiments defines a device forreference picture handling. The device comprises an information providerconfigured to provide, based on an encoded representation of a picturecomprising at least one slice, preferably multiple slices, in a videosequence, information indicative of whether at least one slice elementis kept the same for the at least one slice of the picture, preferablyfor the multiple slices of the picture and more preferably for allslices of a same slice type in the picture. A list constructiondeterminer is configured to determine, based on the information providedby the information provider, whether reference picture list constructioncan be performed once for the at least one slice of the picture,preferably for the multiple slices of the picture and more preferablyfor all slices of a same slice type in the picture.

Other related aspects of the embodiments define a decoder comprising adevice for reference picture list handling and a receiver comprising aninput unit configured to receive an encoded representation of a pictureof a video sequence. The picture comprises at least one slice,preferably multiple slices. The receiver further comprising a decoderaccording to the embodiments, a reference picture buffer configured tostore reference pictures and an output unit configured to output adecoded picture.

Another aspect of the embodiments relates to a method of encoding apicture comprising at least one slice, preferably multiple slices, andis present in a video sequence. The method comprises determining whetherat least one slice element, based on which reference picture listconstruction is to be performed, is to be kept the same for the at leastone slice of the picture, preferably for the multiple slices of thepicture and more preferably for all slices of a same slice type in thepicture. An encoded representation of the picture is generated based onthe at least one slice element. Information indicative of whether the atleast one slice element is kept the same for the at least one slice ofthe picture, preferably for the multiple slices of the picture and morepreferably for all slices of a same slice type in the picture, isassociated with the encoded representation. A related aspect of theembodiments defines an encoder for encoding a picture comprising atleast one slice, preferably multiple slices, of a video sequence. Theencoder comprises a slice element determiner configured to determinewhether at least one slice element, based on which reference picturelist construction is to be performed, is to be kept the same for the atleast one slice of the picture, preferably for the multiple slices ofthe picture and more preferably for all slices of a same slice type inthe picture. A representation generator is configured to generate anencoded representation of the picture based on the at least one sliceelement. The encoder also comprises an information provider configuredto associate information indicative of whether the at least one sliceelement is kept the same for the at least one slice of the picture,preferably for the multiple slices of the picture and more preferablyfor all slices of a same slice type in the picture, with the encodedrepresentation.

Another related aspect of the embodiments defines a transmittercomprising an input unit configured to receive a picture of a videosequence. The picture comprises at least one slice, preferably multipleslices. The transmitter also comprises an encoder according to theembodiments and an output unit configured to output an encodedrepresentation of the picture.

The embodiments of these aspect thereby signal in the bitstream, i.e.coded data of the video sequence, that some, i.e. at least one, sliceelements is kept the same for all slices of a picture. This in turnmeans that the decoder can use this signaled information to decidewhether the computationally complex reference picture list constructioncould be performed only once for the slices of the picture and thereforedo not need to be repeated for these slices.

Various implementation examples of these aspects will now be described.

In an implementation example, the slice elements comprise sequencesyntax elements which are introduced to indicate that certain propertiesof each slice of a picture are kept the same for all slices in apicture. A non-exhaustive list of examples is presented here:

a) The number of reference pictures in L0 is the same for all slices ina picture. For HEVC, this can be constrained by a syntax element thatindicates whether the value of the syntax element num_refidx_l0_active_minus1 is the same for all slices in a picture.b) The number of reference pictures in L1 is the same for all slices ina picture. For HEVC, this can be constrained by a syntax element thatindicates whether the value of the syntax element num_refidx_l1_active_minus1 is the same for all slices in a picture.c) The initial quantization parameter is the same for all slices in thepicture. For HEVC, this can be constrained by a syntax element thatindicates whether the value of the syntax element slice_qp_delta is thesame for all slices in a picture.d) The deblocking filter parameters have the same values for all slicesin the picture. For HEVC, this can be constrained by syntax elementsthat indicate whether the value of the syntax elementsdisable_deblocking_filter_flag and/or slice_alpha_c0_offset_div2 and/orslice_beta_offset_div2 is the same for all slices in a picture.

An embodiment of this example embodiment relates to a method ofdeblocking filter handling in connection with decoding an encodedrepresentation of a picture in a video sequence, the picture comprisesmultiple slices, each comprising multiple blocks of pixels. The methodcomprises providing, based on the encoded representation, informationindicative of whether at least one slice or syntax element representingor defining at least one deblocking filter parameter is kept the samefor the multiple slices of the picture. The method also comprisesdetermining, based on the information, whether the at least deblockingfilter parameter will have a same value for the multiple slices in thepicture.

In this embodiment the decoder can thereby determine, based on theinformation, whether deblocking filter construction can be performedonce for the multiple slices of the picture. The at least one deblockingfilter is employed in connection with decoding in order to combat blockartefacts over block borders in the at least one slice. Hence, theparameters or at least a portion of the parameters of the at least onedeblocking filter then only needs to be determined for a first slice ofthe picture and can then be reused for any remaining slice(s) of thepicture.

A related embodiment of this example embodiment relates to a decoderconfigured to decode an encoded representation of a picture in a videosequence, the picture comprises multiple slices, each comprisingmultiple blocks of pixels. The decoder comprises an information providerconfigured to provide, based on the encoded representation, informationindicative of whether at least one slice element representing ordefining at least one deblocking filter parameter is kept the same forthe multiple slices of the picture. The decoder also comprises a filterparameter determiner configured to determine, based on the information,whether the at least deblocking filter parameter will have a same valuefor the multiple slices in the picture.

Another embodiment of this example embodiment defines a method ofencoding a picture of a video sequence, the picture comprises multipleslices, each comprising multiple blocks of pixels. The method comprisesdetermining whether at least one slice element representing or definingat least one deblocking filter parameter is to be kept the same for themultiple slices of the picture. The method also comprises generating anencoded representation of the picture based on the at least one sliceelement. The method further comprises associating information indicativeof whether the at least one slice element is kept the same for themultiple slices of the picture with the encoded representation.

Another related embodiment of this example embodiment defines an encoderconfigured to encode a picture of a video sequence, the picturecomprises multiple slices, each comprising multiple blocks of pixels.The encoder comprises a slice element determiner configured to determinewhether at least one slice element representing or defining at least onedeblocking filter parameter is to be kept the same for the multipleslices of the picture. The encoder also comprises a representationgenerator configured to generate an encoded representation of thepicture based on the at least one slice element. The encoder furthercomprises an information provider configured to associate informationindicative of whether the at least one slice element is kept the samefor the multiple slices of the picture with the encoded representation.

e) The weighted prediction parameters or weights for weighted predictionhave the same value for all slices in the picture.

An embodiment of this example embodiment relates to a method of weightedprediction handling in connection with decoding an encodedrepresentation of a picture in a video sequence, the picture comprisesmultiple slices. The method comprises providing, based on the encodedrepresentation, information indicative of whether at least one slice orsyntax element representing or defining at least one weighted predictionparameter or at least one weight for weighted prediction is kept thesame for the multiple slices of the picture. The method also comprisesdetermining, based on the information, whether the at least weighedprediction filter parameter or the at least one weight will have a samevalue for the multiple slices in the picture.

In this embodiment the decoder can thereby determine, based on theinformation, whether prediction weight construction can be performedonce for the multiple slices of the picture. The at least one weightedprediction parameter or weight is employed in connection with decodingin order to define the prediction weights for the reference picture(s)based on which a slice of the picture is decoded. Hence, the weightedprediction parameter(s) or the weight(s) then only need(s) to bedetermined for a first slice of the picture and can then be reused forany remaining slice(s) of the picture.

A related embodiment of this example embodiment relates to a decoderconfigured to decode an encoded representation of a picture in a videosequence, the picture comprises multiple slices. The decoder comprisesan information provider configured to provide, based on the encodedrepresentation, information indicative of whether at least one sliceelement representing or defining at least one weighted predictionparameter at least one weight for weighted prediction is kept the samefor the multiple slices of the picture. The decoder also comprises aweight determiner configured to determine, based on the information,whether the at least one weighted prediction parameter or the at leastone weight will have a same value for the multiple slices in thepicture.

Another embodiment of this example embodiment defines a method ofencoding a picture of a video sequence, the picture comprises multipleslices. The method comprises determining whether at least one sliceelement representing or defining at least one weighted predictionparameter or at least one weight for weighted prediction is to be keptthe same for the multiple slices of the picture. The method alsocomprises generating an encoded representation of the picture based onthe at least one slice element. The method further comprises associatinginformation indicative of whether the at least one slice element is keptthe same for the multiple slices of the picture with the encodedrepresentation.

Another related embodiment of this example embodiment defines an encoderconfigured to encode a picture of a video sequence, the picturecomprises multiple slices. The encoder comprises a slice elementdeterminer configured to determine whether at least one slice elementrepresenting or defining at least one weighted prediction parameter orat least one weight for weighted prediction is to be kept the same forthe multiple slices of the picture. The encoder also comprises arepresentation generator configured to generate an encodedrepresentation of the picture based on the at least one slice element.The encoder further comprises an information provider configured toassociate information indicative of whether the at least one sliceelement is kept the same for the multiple slices of the picture with theencoded representation.

f) The arithmetic coder initialization parameters are the same for allslices in the picture. For HEVC, this can be constrained by a syntaxelement that indicates whether the value of the syntax elementcabac_init_idc is the same for all slices in a picture.

As a possible alternative, instead of indicating whether a certain sliceproperty is the same for all slices in a picture, the sequence syntaxelements can indicate whether all slices of the same slice type thatbelong to the same picture have the same property. This alternative canbe mixed such that for some slice properties, the property must be thesame for all slices in a picture, but for other slice properties, theproperty must be the same for all slices of the same slice type in apicture.

One possibility is to bundle slice properties such that a singlesequence syntax element indicates that several slice properties are thesame for slices that belong to the same picture. This can also becombined with the mix described above such that some properties in thebundle must be the same for all slices in a picture, but for other sliceproperties in the bundle, the property must be the same for all slicesof the same slice type in a picture.

The sequence syntax elements could for HEVC for example be present inthe SPS.

In another example embodiment the slice element comprises a codeword inthe bitstream that signals the number of different final referencepicture lists (after the modification of the initial reference picturelist) there may be at most for a picture in the bitstream.

The signal is preferably signaled once per sequence (in the SPS forHEVC) but can optionally be signaled once for a set of pictures (PPS orAPS for HEVC).

The codeword may use universal variable length code (UVLC) coding(exponential Golomb coding with k=0) with the following representation:

1 Same final reference picture lists for all slices in any picture 010Maximum 2 different reference picture lists in any picture in the videosequence 011 Max 3 different reference picture lists in any picture inthe video sequence 00100 Max 4 different reference picture lists in anypicture in the video sequence etc

Alternatively, one short codeword, e.g. ‘1’, may be used to signal thatthere is no limit set on the number of different reference picture listsin the bitstream. The meaning of the other codewords can be shiftedaccordingly to give e.g. the following representation:

1 No restriction 010 Same final reference picture lists for all slicesin any picture 011 Maximum 2 different reference picture lists in anypicture in the video sequence 00100 Max 3 different reference picturelists in any picture in the video sequence 00101 Max 4 differentreference lists in any picture in the video sequence etc

Note that the codewords given above are examples, other codewords may beused for signaling the number of different lists used at most for apicture.

This will reduce the decoding complexity since the decoder does not haveto perform reference picture list construction for every slice. Thedecoder can perform reference picture list construction for the firstslice in the picture and then keep that reference picture list(s) forthe rest of the slices in the picture. Without this information, thedecoder will not know whether an encoder uses the same final referencepicture list in every slice. The decoder then has to be prepared fordifferent reference picture lists for every slice and be designed tohandle the worst-case complexity case. Note that for error resiliencepurposes, the list construction syntax may preferably still be repeatedin every slice.

In a further example embodiment, a flag is used instead of the codeworddescribed in the another example embodiment. The flag signals whetherany picture uses more than one final reference picture list or not. Oneflag state means that every slice of the same picture uses the samereference picture list(s) as the other slices of that same picture. Ifthis state is signaled, a decoder only needs to perform referencepicture list construction for the first slice it receives for a picture,it will know that the same reference picture list(s) will be used forall other slices in the picture. This will reduce the decodingcomplexity since the decoder does not have to perform reference picturelist construction for every slice. The decoder can perform referencepicture list construction for the first slice in the picture and thenkeep that reference picture list(s) for the rest of the slices in thepicture. Without this flag and this flag state, the decoder will notknow whether an encoder uses the same final reference picture list(s) inevery slice. The decoder then has to be prepared for different referencepicture lists for every slice and be designed to handle the worst-casecomplexity case. Note that for error resilience purposes, the listconstruction syntax may preferably still be repeated in every slice.

In still another example embodiment, any of the previous signalingmethods is tied to a profile. Hence the slice elements comprise aprofile. Profiles are signaled in the bitstream. For HEVC, the profileis signaled using the profile_idc syntax element in the SPS. In apreferred example, a profile requires that some slice properties are thesame for each slice (either with the same slice type or every sliceregardless of slice type) that belong to the same picture.

In yet another example embodiment, the slice elements are sent in aparameter set. For instance the list construction and modificationsyntax is moved from the slice header to a parameter set that containssyntax for one entire picture regardless of the number of slices usedfor a picture. The advantage is bit savings; signaling the listmodification syntax once per picture instead of repeating it in everyslice reduces the overall bit cost. An example of such a parameter setis the APS in HEVC. In a preferred example, the mode as described in anyexample embodiment above is signaled, for instance, in the SPS or thePPS. If the mode indicates that the same modification is used in allslices of the same picture, the modification syntax is present in theAPS and not in the slice header. If the mode indicates that there is nomodification there is no modification syntax present in neither the APSnor the slice header. If the mode indicates that there are at least twoslices with different reference picture lists, the modification syntaxis present in the slice header. Another alternative is that when themode indicates that there are at least two slices with differentreference picture lists, the modification syntax is present in the APS.

Hence, according an aspect a method is provided, wherein one or moreslice elements are kept the same for all slices in a picture andinformation is transmitted indicative of one or more slice elementswhich are kept the same for all slices in a picture. According to anaspect a method is provided, wherein information is received indicatorof one or more slice elements which are kept the same for all slices ina picture.

The embodiments described above are to be understood as a fewillustrative examples of the present invention. It will be understood bythose skilled in the art that various modifications, combinations andchanges may be made to the embodiments without departing from the scopeof the present invention. In particular, different part solutions in thedifferent embodiments can be combined in other configurations, wheretechnically possible. The scope of the present invention is, however,defined by the appended claims.

1. A method of reference picture list handling in connection withdecoding an encoded representation (4) of a picture (3) in a videosequence, said picture (3) comprises multiple slices, said methodcomprising: providing (S1) at least one mode signaling syntax elementbased on said encoded representation (4); and determining (S2), based onsaid at least one mode signaling syntax element, whether final referencepicture list or lists is or are the same for all slices of a same slicetype in said picture (3).
 2. The method according to claim 1, whereindetermining (S2) whether final reference picture list or lists is or arethe same comprises determining (S2), based on said at least one modesignaling syntax element, whether a final reference picture list is thesame for all P slices in said picture (3) and final reference picturelists are the same for all B slices in said picture (3).
 3. The methodaccording to claim 2, wherein determining (S2) whether final referencepicture list or lists is or are the same comprises determining (S2),based on said at least one mode signaling syntax element, whether afinal reference picture list L0 is the same for all P slices and all Bslices in said picture (3) and a final reference picture list L1 is thesame for all B slices in said picture (3).
 4. The method according toany of the claims 1 to 3, wherein determining (S2) whether finalreference picture list or lists is or are the same comprises determining(S2), based on said at least one mode signaling syntax element, whetheri) said final reference picture list or lists is or are the same for allslices of said same slice type in said picture (3) or ii) the number ofdifferent reference picture lists used in said picture (3) isunrestricted.
 5. The method according to any of the claims 1 to 4,wherein providing (S1) said at least one mode signaling syntax elementcomprises providing (S20) a reference picture list flag based on saidencoded representation (4), and determining (S2) whether final referencepicture list or lists is or are the same comprises determining (S22)that said final reference picture list or lists is or are the same forall slices of said same slice type in said picture (3) if said referencepicture list flag has a first value and determining (S23) that saidfinal reference picture list or lists does or do not need to be the samefor all slices of said same slice type in said picture (3) if saidreference picture list flag has a second, different value.
 6. The methodaccording to any of the claims 1 to 5, further comprising determining(S12), based on said at least one mode signaling syntax element, whetherany reference picture list modification is applied to initial referencepicture list or lists to form said final reference picture list orlists.
 7. The method according to claim 6, wherein providing (S1) saidat least one mode signaling syntax element comprises providing (S24) areference picture list modification flag based on said encodedrepresentation (4); and determining (S12) whether any reference picturelist modification is applied comprises determining (S26), if saidreference picture list modification flag has a first value, that saidinitial reference picture list or lists obtained in a reference picturelist initialization is or are to be used as said final reference picturelist or lists.
 8. The method according to claim 7, further comprisingdetermining (S35), if said reference picture list modification flag hassaid first value and based on said encoded representation (3), saidinitial reference picture list or lists in said reference picture listinitialization.
 9. The method according to claims 6 to 8, whereinproviding (S1) said at least one mode signaling syntax element comprisesproviding (S24) a reference picture list modification flag based on saidencoded representation (4); and determining (S12) whether any referencepicture list modification is applied comprises determining (S27), ifsaid reference picture list modification flag has a second value, thatmodified reference picture list or lists obtained by modifying saidinitial reference picture list or lists obtained in a reference picturelist initialization is or are to be used as said final reference picturelist or lists.
 10. The method according to claim 9, further comprising:determining (S35), if said reference picture list modification flag hassaid second value, said initial reference picture list or lists based onsaid encoded representation (4) in said reference picture listinitialization; and modifying (S39), if said reference picture listmodification flag has said second value, said initial reference picturelist or lists based on at least one list modification parameterretrieved based on said encoded representation (4) to form said modifiedreference picture list or lists.
 11. The method according to claim 7 or8 and claim 9 or 10, wherein providing (S24) said reference picture listmodification flag comprises providing (S24), based on said encodedrepresentation (4) and if said reference picture list flag has saidfirst value, said reference picture list modification flag.
 12. A device(100) for reference picture list handling comprising: a syntax elementprovider (110) configured to provide at least one mode signaling syntaxelement based on an encoded representation (4) of a picture (3) in avideo sequence, said picture (3) comprising multiple slices; and a listdeterminer (120) configured to determine, based on said at least onemode signaling syntax element, whether final reference picture list orlists is or are the same for all slices of a same slice type in saidpicture (3).
 13. The device according to claim 12, wherein said listdeterminer (120) is configured to determine, based on said at least onemode signaling syntax element, whether a final reference picture list isthe same for all P slices in said picture (3) and final referencepicture lists are the same for all B slices in said picture (3).
 14. Thedevice according to claim 13, wherein said list determiner (120) isconfigured to determine, based on said at least one mode signalingsyntax element, whether a final reference picture list L0 is the samefor all P slices and all B slices in said picture (3) and a finalreference picture list L1 is the same for all B slices in said picture(3).
 15. The device according to any of the claims 12 to 14, whereinsaid list determiner (120) is configured to determine, based on said atleast one mode signaling syntax element, whether i) said final referencepicture list or lists is or are the same for all slices of said sameslice type in said picture (3) or ii) the number of different referencepicture lists used in said picture (3) is unrestricted.
 16. The deviceaccording to any of the claims 12 to 15, wherein said syntax elementprovider (110) is configured to provide a reference picture list flagbased on said encoded representation (4), and said list determiner (120)is configured to determine that said final reference picture list orlists is or are the same for all slices of said same slice type in saidpicture (3) if said reference picture list flag has a first value anddetermine that said final reference picture list or lists does or do notneed to be the same for all slices of said same slice type in saidpicture (3) if said reference picture list flag has a second, differentvalue.
 17. The device according to any of the claims 12 to 16, furthercomprising a list modification determiner (130) configured to determine,based on said at least one mode signaling syntax element, whether anyreference picture list modification is applied to initial referencepicture list or lists to form said final reference picture list orlists.
 18. The device according to claim 17, wherein said syntax elementprovider (110) is configured to provide a reference picture listmodification flag based on said encoded representation (4); and saidlist modification determiner (130) configured to determine, if saidreference picture list modification flag has a first value, that saidinitial reference picture list or lists obtained in a reference picturelist initialization is or are to be used as said final reference picturelist or lists.
 19. The device according to claim 18, further comprisinga list initiator (140) configured to determine, if said referencepicture list modification flag has said first value and based on saidencoded representation (3), said initial reference picture list or listsin said reference picture list initialization.
 20. The device accordingto claims 17 to 19, wherein said syntax element provider (110) isconfigured to provide a reference picture list modification flag basedon said encoded representation (4); and said list modificationdeterminer (130) configured to determine, if said reference picture listmodification flag has a second value, that modified reference picturelist or lists obtained by modifying said initial reference picture listor lists obtained in a reference picture list initialization is or areto be used as said final reference picture list or lists.
 21. The deviceaccording to claim 20, further comprising: a list initiator (140)configured to determine, if said reference picture list modificationflag has said second value, said initial reference picture list or listsbased on said encoded representation (4) in said reference picture listinitialization; and a list modifier (150) configured to modify, if saidreference picture list modification flag has said second value, saidinitial reference picture list or lists based on at least one listmodification parameter retrieved based on said encoded representation(4) to form said modified reference picture list or lists.
 22. Thedevice according to claim 18 or 19 and claim 20 or 21, wherein saidsyntax element provider (110) is configured to provide said referencepicture list modification flag based on said encoded representation (4)and if said reference picture list flag has said first value.
 23. Adecoder (10) comprising a device (100) for reference picture listhandling according to any of the claims 12 to
 22. 24. A receiver (1)comprising: an input unit (11) configured receive an encodedrepresentation (4) of a picture (3) of a video sequence, said picture(3) comprising multiple slices; a decoder (10) according to claim 23; areference picture buffer (13) configured to store reference pictures (5)defined in a final reference picture list or lists; and an output unit(12) configured to output a decoded picture (6).
 25. A method ofencoding a picture (3) of a video sequence, said picture (3) comprisingmultiple slices, said method comprising: determining (S50) whether finalreference picture list or lists is or are the same for all slices of asame slice type in said picture (3); generating (S51) an encodedrepresentation (4) of said picture (3); and associating (S52), with saidencoded representation (4), at least one mode signaling syntax elementindicative of whether said final reference picture list or lists is orare the same for all slices of said same slice type in said picture (3).26. The method according to claim 25, further comprising setting (S60) areference picture list flag to a first value if said final referencepicture list or lists is or are the same for all slices of said sameslice type in said picture (3), wherein associating (S52) said at leastone mode signaling syntax element comprises associating (S52) saidreference picture list flag with said encoded representation (4). 27.The method according to claim 25 or 26, further comprising setting (S60)a reference picture list flag to a second value if said final referencepicture list or lists does or do not need to be the same for all slicesof said same slice type in said picture (3), wherein associating (S52)said at least one mode signaling syntax element comprises associating(S52) said reference picture list flag with said encoded representation(4).
 28. The method according to any of the claims 25 to 27, furthercomprising setting (S61) a reference picture list modification flag to afirst value if initial reference picture list or lists obtained in areference picture list initialization is or are to be used as said finalreference picture list or lists, wherein associating (S52) said at leastone mode signaling syntax element comprises associating (S52) saidreference picture list modification flag with said encodedrepresentation (4).
 29. The method according to any of the claims 25 to28, further comprising setting (S61) a reference picture listmodification flag to a second value if modified reference picture listor lists obtained by modifying initial reference picture list or listsobtained in a reference picture list initialization is or are to be usedas said final reference picture list or lists, wherein associating (S52)said at least one mode signaling syntax element comprises associating(S52) said reference picture list modification flag with said encodedrepresentation (4).
 30. The method according to claim 26 and claim 28 or28, wherein setting (S61) said reference picture list modification flagcomprises setting (S61) said reference picture list modification flag ifsaid reference picture list flag has said first value.
 31. An encoder(200) for encoding a picture (3) of a video sequence, said picture (3)comprising multiple slices, said encoder (200) comprising: a listdeterminer (210) configured to determine whether final reference picturelist or lists is or are the same for all slices of a same slice type insaid picture (3); a representation generator (220) configured togenerate an encoded representation (4) of said picture (3); and a syntaxelement associating unit (230) configured to associate, with saidencoded representation (4), at least one mode signaling syntax elementindicative of whether said final reference picture list or lists is orare the same for all slices of said same slice type in said picture (3).32. The encoder according to claim 31, further comprising a referencepicture list flag setter (240) configured to set a reference picturelist flag to a first value if said final reference picture list or listsis or are the same for all slices of said same slice type in saidpicture (3), wherein said syntax element associating unit (230) isconfigured to associate said reference picture list flag with saidencoded representation (4).
 33. The encoder according to claim 31 or 32,further comprising a reference picture list flag setter (240) configuredto set a reference picture list flag to a second value if said finalreference picture list or lists does or do not need to be the same forall slices of said same slice type in said picture (3), wherein saidsyntax element associating unit (230) is configured to associate saidreference picture list flag with said encoded representation (4). 34.The encoder according to any of the claims 31 to 33, further comprisinga reference picture list modification flag setter (250) configured toset a reference picture list modification flag to a first value ifinitial reference picture list or lists obtained in a reference picturelist initialization is or are to be used as said final reference picturelist or lists, wherein said syntax element associating unit (230) isconfigured to associate said reference picture list modification flagwith said encoded representation (4).
 35. The encoder according to anyof the claims 31 to 34, further comprising a reference picture listmodification flag setter (250) configured to set a reference picturelist modification flag to a second value if modified reference picturelist or lists obtained by modifying initial reference picture list orlists obtained in a reference picture list initialization is or are tobe used as said final reference picture list or lists, wherein saidsyntax element associating unit (230) is configured to associate saidreference picture list modification flag with said encodedrepresentation (4).
 36. The encoder according to claim 32 and claim 34or 35, wherein said reference picture list modification flag setter(250) is configured to set said reference picture list modification flagif said reference picture list flag has said first value.
 37. Atransmitter (2) comprising: an input unit (21) configured receive apicture (3) of a video sequence, said picture (3) comprising multipleslices; an encoder (200) according to any of the claims 31 to 36; and anoutput unit (22) configured to output an encoded representation (4) ofsaid picture (3).